package com.tts.dede;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;

public class Panier {
	
	private int posPanierX, posPanierY;
	private Bitmap panier;
	private Tools myTool;
	private int size = 100;
	
	
	public Panier(Context myContext, int x, int y) {
		panier = BitmapFactory.decodeResource(myContext.getResources(), R.drawable.panier);
		panier = Bitmap.createScaledBitmap(panier, size, size, true);
		panier = Tools.createTransparentBitmapFromBitmap(panier, Color.WHITE);
		this.posPanierX = x;
		this.posPanierY = y;
	}
	public int getPosPanierX() {
		return posPanierX;
	}

	public void setPosPanierX(int posPanierX) {
		this.posPanierX = posPanierX;
	}
	public void setPosPanierY(int posPanierY) {
		this.posPanierY = posPanierY;
	}
	public int getPosPanierY() {
		
		return posPanierY;
	}


	public Bitmap getPanier() {
		return panier;
	}
	public void setPanier(Bitmap panier) {
		this.panier = panier;
	}
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
}
